package com.etc.entity;

import org.springframework.stereotype.Component;

@Component
public class Livein {
    private String inId;
    private RoomInfo roomInfo;
    private RoomType roomType;
    private User user;
    private int inCount;
    private String inTime;
    private int days;
    private float inForegift;
    private Checkout checkout;
    private String remark;

    public String getInId() {
        return inId;
    }

    public void setInId(String inId) {
        this.inId = inId;
    }

    public RoomInfo getRoomInfo() {
        return roomInfo;
    }

    public void setRoomInfo(RoomInfo roomInfo) {
        this.roomInfo = roomInfo;
    }

    public RoomType getRoomType() {
        return roomType;
    }

    public void setRoomType(RoomType roomType) {
        this.roomType = roomType;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getInCount() {
        return inCount;
    }

    public void setInCount(int inCount) {
        this.inCount = inCount;
    }

    public String getInTime() {
        return inTime;
    }

    public void setInTime(String inTime) {
        this.inTime = inTime;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public float getInForegift() {
        return inForegift;
    }

    public void setInForegift(float inForegift) {
        this.inForegift = inForegift;
    }

    public Checkout getCheckout() {
        return checkout;
    }

    public void setCheckout(Checkout checkout) {
        this.checkout = checkout;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Livein() {
    }

    public Livein(String inId, RoomInfo roomInfo, RoomType roomType, User user, int inCount, String inTime, int days, float inForegift, Checkout checkout, String remark) {
        this.inId = inId;
        this.roomInfo = roomInfo;
        this.roomType = roomType;
        this.user = user;
        this.inCount = inCount;
        this.inTime = inTime;
        this.days = days;
        this.inForegift = inForegift;
        this.checkout = checkout;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Livein{" +
                "inId='" + inId + '\'' +
                ", roomInfo=" + roomInfo +
                ", roomType=" + roomType +
                ", user=" + user +
                ", inCount=" + inCount +
                ", inTime='" + inTime + '\'' +
                ", days=" + days +
                ", inForegift=" + inForegift +
                ", checkout=" + checkout +
                ", remark='" + remark + '\'' +
                '}';
    }
}
